home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / misc / math / MathFX_src.lha / fxerrx.c < prev    next >
C/C++ Source or Header  |  1995-12-20  |  335b  |  18 lines

  1. /* Plots horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i)) */
  2.  
  3. #include "mathfx.h"
  4.  
  5.  
  6.  
  7. void fxerrx(n,xmin,xmax,y)
  8. int n;
  9. float xmin[], xmax[], y[];
  10. {
  11.       int i, level;
  12.  
  13.       glev(&level);
  14.       if (level < 3) fatal("Please set up window before calling FXERRX.");
  15.       for (i=0;i<n;i++)
  16.         fxerx1(xmin[i],xmax[i],y[i]);
  17. }
  18.